<%@ page import="student_system.bean.student" %>
<%@ page import="java.util.List" %>
<%@ page import="student_system.bean.dep" %>
<%@ page import="student_system.bean.course" %>


<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<form action="/altercourse2" method="get">
    <table>
        <%
            course s = (course) request.getAttribute("courselists");
        %>
        <tr>
            <td>课程编号</td>
            <td><input type="text" name="cno" value="<%=s.getCno()%>"></td>
        </tr>
        <tr>
            <td>课程名称</td>
            <td><input type="text" name="cname" value="<%=s.getCname()%>"></td>
        </tr>
        <tr>
            <td>学分</td>
            <td><input type="text" name="credit" value="<%=s.getCredit()%>"></td>
        </tr>
        <tr>
            <td>开课时间</td>
            <td><input type="text" name="ctime" value="<%=s.getCtime()%>"></td>
        </tr>
        <tr>
            <td>名额</td>
            <td><input type="text" name="quota" value="<%=s.getQuota()%>"></td>
        </tr>

        <tr>
            <td colspan="2">
                <input type="submit" value="提交">
            </td>
        </tr>
    </table>
</form>
</body>
</html>
